from django.urls import path
from django.conf import settings 
from django.conf.urls.static import static 


from . import views

app_name = 'Tasks'


urlpatterns = [
    path('',views.TaskIndexView.as_view(),name ='task_index'),
    path('task/',views.TaskIndexView.as_view(),name ='task_index'),
    path('gift/',views.GiftIndexView.as_view(),name ='gift_index'),
    path('new_task/',views.NewTaskView.as_view(),name ='new_task'),
    path('my_task/',views.MyTaskIndexView.as_view(),name ='my_task'),
    path('get_task/<int:id>/',views.TaskDetailView,name ='get_task'),
    path('my_taskf/',views.MyTaskIndexViewF,name ='my_taskf'),
    path('my_task_detail/<int:id>/',views.MyTaskDetailView,name ='my_task_detail') ,
    #path('<int:pk>/',views.DetailView.as_view(),name = 'detail'),
    path('<int:id>/',views.TaskDetailView,name = 'detail'),
]
